package com.net.xpay.common.domain.backup;

import com.net.common.domain.CommonDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 平台收益备份 CompanyBillDailyStat
 * 汇总到2023年10月31号 23:59:59
 */
@Getter
@Setter
@NoArgsConstructor
public class X1 extends CommonDomain {

    @ApiModelProperty(notes = "开始日期")
    private LocalDate startDay;

    @ApiModelProperty(notes = "截止日期")
    private LocalDate endDay;

    @ApiModelProperty(notes = "正向充值金额 分")
    private Long rechargeAmount;

    @ApiModelProperty(notes = "反向充值金额")
    private Long reverseRechargeAmount;

    /**
     * 有密转账业务
     */
    @ApiModelProperty(notes = "成功转账的服务费 分")
    private Long successServicePrice;

    @ApiModelProperty(notes = "实际成功转账的服务费 分 (废弃)")
    private Long realSuccessServicePrice;

    @ApiModelProperty(notes = "合伙人总收益 分")
    private Long totalPartnerBenefit;

    @ApiModelProperty(notes = "父级合伙人总收益 分")
    private Long totalFatherPartnerBenefit;

    @ApiModelProperty(notes = "平台总收益 分")
    private Long totalPlatformBenefit;

    @ApiModelProperty(notes = "成功金额 单位为元")
    private BigDecimal successAmount;

    @ApiModelProperty(notes = "成功笔数")
    private Long successCount;


    /**
     * 安全付业务
     */
    @ApiModelProperty(notes = "安全付成功转账的服务费 分")
    private Long safePaySuccessServicePrice;

    @ApiModelProperty(notes = "安全付合伙人总收益 分")
    private Long safePayTotalPartnerBenefit;

    @ApiModelProperty(notes = "安全付父级合伙人总收益 分")
    private Long safePayTotalFatherPartnerBenefit;

    @ApiModelProperty(notes = "安全付平台总收益 分")
    private Long safePayTotalPlatformBenefit;

    @ApiModelProperty(notes = "安全付成功金额 单位为元")
    private BigDecimal safePaySuccessAmount;

    @ApiModelProperty(notes = "安全付成功笔数")
    private Long safePaySuccessCount;

    /**
     * 提现
     */
    @ApiModelProperty(notes = "合伙人提现金额")
    private Long partnerWithdrawAmount;

    @ApiModelProperty(notes = "商家提现金额 预留字段 暂时没有")
    private Long userWithdrawAmount;
}
